Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: displaying data from multiple notes DB's on one view -- HELP!
~Umberto Nongeroson 19.Dec.03 09:16 PM a Web browser
Domino Designer All Releases All Platforms


This is for the web? Not as big a problem as you'd think, and you can put away most of the toolbox.

You're trying a JOIN, essentially, right? As long as it's a left outer join (one primary view defines the rows for the table; external data fills those rows), you can do it by:
  1. In your "primary view", create JavaScript-addressable elements in the table. That means, essentially, creating table cells with unique ids derived from the "primary key" value if you are using "Treat as HTML". If you are displaying "using HTML", you'll need to substitute span or div elements created in passthru within the Domino-generated table cells.
  2. In each of the other databases, create a "Treat as HTML" (take that with a grain of salt) view that creates a JavaScript statement for each document to populate the target writable element in the master view. Use try-catch for each in order to get around any potential "in this view but not in that one" problems. Make the view template for these views "Treat contents as other: text/javascript". The viewtemplate should define the functions that run these statements.
  3. Refer to these views in the view template for the primary view in <script> tags.
  4. Call the JavaScript functions (the external views) from the onload of the "primary" view's viewtemplate.



displaying data from multiple notes... (~Joseph Churesa... 19.Dec.03)
. . RE: displaying data from multiple n... (~Hal Zenrekonyl... 19.Dec.03)
. . . . RE: displaying data from multiple n... (~Joseph Churesa... 22.Dec.03)
. . . . . . RE: displaying data from multiple n... (~Hal Zenrekonyl... 22.Dec.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS